package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IAlertRuleService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 报警定时任务
 *
 * @Author mr.luo
 * @Date 29 5月 2025 15:23
 */
@Component
@Slf4j
public class AlertJob {
    @Autowired
    private IAlertRuleService iAlertRuleService;

    /**
     * 设备报警定时任务
     */
    public void deviceAlertFilter() {
        iAlertRuleService.deviceAlertFilter();
        log.info("设备报警任务执行完毕");
    }

}
